package cn.bopomo.dealer.base.common;

public class CommonConstant {
	//Login时输入到session的参数
	public static  String KEY_LOGIN_NAME = "userName";
	public static  String KEY_LOGIN_ID = "userId";
	public static  String KEY_AUTHORIZE_MAP = "authorizeMap";
	public static  String KEY_MODULE_MAP = "moduleMap";
	
	public static String REGEX_INT = "^[0-9]*[1-9][0-9]*$";
	public static String REGEX_FLOAT = "^[0-9]*[1-9][0-9]*(.)*[0-9]*$";
	public static String REGEX_DATE = "^((((1[6-9]|[2-9]\\d)\\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\\d|3[01]))|(((1[6-9]|[2-9]\\d)\\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\\d|30))|(((1[6-9]|[2-9]\\d)\\d{2})-0?2-(0?[1-9]|1\\d|2[0-8]))|(((1[6-9]|[2-9]\\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29))$";
	
	public static int INT_ROWS_PER_PAGE = 12;
	
	//KEY_模块列表Page
	public static  String KEY_MODULE_LIST_PAGE = "moduleListPage";
	
	//KEY_操作员列表Page
	public static  String KEY_OPERATOR_LIST_PAGE = "operatorListPage";
	
	//KEY_权限列表
	public static  String KEY_AUTHORIZE_LIST = "authorizeList";
	
}
